/* stylelint-disable docusaurus/copyright-header */
/**
 * Any CSS included here will be global. The classic template
 * bundles Infima by default. Infima is a CSS framework designed to
 * work well for content-centric websites.
 */

/* You can override the default Infima variables here. */
:root {
  --ifm-background-color: #fff;
  --ifm-background-surface-color: #f2f6fa;
  --ifm-color-primary: #ff6344;
  --ifm-color-primary-dark: #ff4824;
  --ifm-color-primary-darker: #ff3b14;
  --ifm-color-primary-darkest: #e22500;
  --ifm-color-primary-light: #ff7e64;
  --ifm-color-primary-lighter: #ff8b74;
  --ifm-color-primary-lightest: #ffb4a5;
  --ifm-card-background-color: var(--ifm-background-color);
  --ifm-footer-background-color: var(--ifm-background-surface-color);
}

html[data-theme="dark"] {
  // --ifm-background-color: #242526;
  // --ifm-background-surface-color: #18191a;
  --ifm-color-primary: #ffcf5d;
  --ifm-color-primary-dark: #ffc53a;
  --ifm-color-primary-darker: #ffc029;
  --ifm-color-primary-darkest: #f4ab00;
  --ifm-color-primary-light: #ffd980;
  --ifm-color-primary-lighter: #ffde91;
  --ifm-color-primary-lightest: #ffeec5;
}

.docusaurus-highlight-code-line {
  display: block;
  margin: 0 calc(-1 * var(--ifm-pre-padding));
  padding: 0 var(--ifm-pre-padding);
  background-color: rgb(72, 77, 91);

  html[data-theme="dark"] & {
    background-color: rgba(0, 0, 0, 0.3);
  }
}

.navbar-item-gitee {
  padding-left: 2.25rem;
  background-image: url("/img/gitee.svg");
  background-position-x: 0.5rem;
  background-position-y: center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
}

.navbar-item-github {
  padding-left: 2.25rem;
  background-image: url("/img/github_dark.svg");
  background-position-x: 0.5rem;
  background-position-y: center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
}

.navbar-item-board {
  padding-left: 2.25rem;
  background-image: url("/img/board.svg");
  background-position-x: 0.5rem;
  background-position-y: center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
}

.wwads-text {
  color: #FFFFFF!important;
  font-size: 11px!important;
}

.wwads-horizontal {
  background-color: #18191a!important;
  padding: 0!important;
  margin-top: 0!important;
  max-height: 120px!important;
}

.wwads-horizontal .wwads-poweredby, .wwads-vertical .wwads-poweredby {
  color: #18191a!important;
}

.docSidebarContainer_3Kbt {
  width: 320px!important;
}

.sidebar_3jCp {
  width: 320px!important;
}
